home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <appkit/View.h>
-
- #define XSIZE 512 // currently fixed size
- #define YSIZE 512 // currently fixed size
- #define RGB 3 // 3 bytes - red, green, blue
-
- #define RED 0
- #define GREEN 1
- #define BLUE 2
-
- @interface LyapunovView:View
- {
- id pattern;
- id posMatrix;
- id scaleMatrix;
- id fromShade;
- id toShade;
- id backShade;
- id depth;
- id initialValue;
- id contrastText;
- id contrastSlider;
- id avgOut;
- id plotType;
- id reApplyButton;
-
- float space[XSIZE][YSIZE];
- char pixels[XSIZE*YSIZE*RGB];
- float xPos, yPos, xScale, yScale, initial, contrast;
- int deep, patternLength;
- short patternNum[16];
- NXColor backColor, fromColor, toColor;
- const char *patternString;
- BOOL singleDot;
- }
-
- - initFrame:(const NXRect *)frm; // designated initializer
- - appDidInit:sender; // app delegate method
- - go:sender; // compute image
- - reApply:sender; // re-compute color map
- - contrast:sender; // sets up contrast
- - newParam:sender; // new image params
- - drawSelf:(NXRect *)rects :(int)rectCount; // internal method
- - mouseDown:(NXEvent *)e; // to easily get new coords
-
- @end
-